package cn.group7.padserver.service;

import cn.group7.padserver.entity.MyPurchase;
import cn.group7.padserver.pojo.Purchase;

import java.util.List;

/**
 * @author 谷汉斌
 * @description
 * @createTime 2024/8/4 下午4:31
 */
public interface PurchaseService {

    boolean add(Purchase purchase);

    Purchase selectNewPurchaseId(String ownName);

    List<MyPurchase> selectByPurchaseType();

}
